package kuang.collections;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class MapTest {
    public static void main(String[] args) {
        Map<Object, String> map = new HashMap<>();


        Map<Object, String> map1 = Collections.synchronizedMap(new HashMap<>());
        Map<Object, String> map2 = new ConcurrentHashMap<>();

    }
}
